package com.sanyuan.cloud.module.system.controller.app.ip.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Description: 行政区信息
 * @Author: wuyuwei
 * @Date: 2025/4/3
 */
@Schema(description = "小程序 - 行政区信息VO")
@Data
public class DistrictRespVO {

    @Schema(description = "城市编码")
    private String citycode;
    @Schema(description = "区域编码")
    private String adcode;
    @Schema(description = "行政区名称")
    private String name;
    @Schema(description = "行政区边界坐标点")
    private String polyline;
    /**
     * 经度
     */
    @Schema(description = "经度")
    private String longitude;

    /**
     * 纬度
     */
    @Schema(description = "纬度")
    private String latitude;
    @Schema(description = "区域中心点")
    private String center;
    @Schema(description = "行政区划级别")
    private String level;
    @Schema(description = "下级行政区列表，包含 district 元素")
    private List<DistrictRespVO> districts;
}
